
#ifndef _MEMBER_BCYLINDER_H_
#define _MEMBER_BCYLINDER_H_

#include <BMesh>
#include <BCylinder>

namespace BWE
{
	class member_BCylinder
	{
	public:
		member_BCylinder(BCylinder* cylinder);
		~member_BCylinder();

		void prepare();
		void rebuild();

		BCylinder*		boss;
		BReal			height;
		BReal			radius;
		int				sides;
		int				heightSegments;
		int				radiusSegments;
		BRealArray	sines;
		BRealArray	coses;
		int				flankSize;
		int				topBegin;
		int				topSize;
		int				bottomBegin;
		int				bottomSize;
	};
}

#endif